package com.bootdo.system.service;

import com.bootdo.system.domain.RedBag;

import java.util.List;
import java.util.Map;


public interface RedBagService {
	
	RedBag get(Long id);
	
	//查看我的可用红包
	List<RedBag> list(Map<String, Object> map);
	
	//查看我的红包
	List<RedBag> myBagList(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	//查看可用红包总数
	int countCanUse(Map<String, Object> map);
	
	int save(RedBag bComments);
	
	int update(RedBag bComments);
	
	int remove(Long id);
	
	int batchRemove(Integer[] ids);
	
	RedBag getMaxRedBag(Map<String, Object> map);
}
